/*
 * @Author: yangzonglong
 * @Date: 2020-06-23 13:31:31
 * @version: v1.0.0
 * @Descripttion: 
 * @LastEditors: yangzonglong
 * @LastEditTime: 2021-04-21 10:05:15
 * @Auditor: 
 */
import server from './../../utils/server/server';
import message from './../../utils/message/message';

export async function snedAction(url: string, data: any) {
  try {
    const result = await server(url, data);
    message.success();
    return result
  } catch (error) {
    return
  }
}